import request from "@/utils/request";

export function findByPlotId(id) {
  return request({
    url: '/base-sixreal/tenement/findByPlotId/'+id,
    method: 'get'
  })
}

export function findById(id) {
  return request({
    url: '/base-sixreal/tenement/findById/'+id,
    method: 'get'
  })
}

export function findList(id) {
  return request({
    url: '/base-sixreal/tenement/findByPlotIdList?id='+id,
    method: 'get'
  })
}

export function add(data) {
  return request({
    url: '/base-sixreal/tenement/add',
    method: 'post',
    data
  })
}

